﻿package mortal.game.resource.info.item
{
    import com.gengine.utils.*;

    public class ItemExInfo extends Object
    {
        public var strengthen:int;
        public var currentStrengthen:int;
        public var bd:int;
        public var h1:String;
        public var h2:String;
        public var h3:String;
        public var h4:String;
        public var h5:String;
        public var h6:String;
        public var h7:String;
        public var h8:String;
        public var hole_num:int;
        public var qual:int;
        public var strengthenAmount:int;
        public var jewelexper:int;
        public var addition1:int;
        public var addition2:int;
        public var addition3:int;
        public var addition4:int;
        public var addition5:int;
        public var addition6:int;
        public var addStar1:int;
        public var addStar2:int;
        public var addStar3:int;
        public var addStar4:int;
        public var addStar5:int;
        public var addStar6:int;
        public var refresh_lock:String;
        public var max_refresh_Level:int;
        public var refresh_count:int;
        public var refresh_refDict:Array;
        public var petSkillRandTime:int;
        public var petSkillRandItem:String;
        public var combat:int;
        public var fashionEffDay:String;
        public var fashionStatus:String;
        public var petSkillGetItem:int;
        public var scan_tower_code:int;
        public var app_dt:String;
        public var ics:int;
        public var extObj:Object;

        public function ItemExInfo()
        {
            this.extObj = {};
            return;
        }// end function

        public function putObject(param1:Object) : void
        {
            var _loc_2:Object = null;
            this.extObj = {};
            if (param1)
            {
                for (_loc_2 in param1)
                {
                    
                    if (this.hasOwnProperty(_loc_2))
                    {
                        this[_loc_2] = param1[_loc_2];
                        continue;
                    }
                    this.extObj[_loc_2] = param1[_loc_2];
                }
            }
            else
            {
                this.clear();
            }
            return;
        }// end function

        public function clear() : void
        {
            var _loc_2:* = undefined;
            var _loc_1:* = ObjectParser.getClassVars(this);
            for each (_loc_2 in _loc_1)
            {
                
                if (this[_loc_2] is int)
                {
                    this[_loc_2] = 0;
                    continue;
                }
                if (this[_loc_2] is String)
                {
                    this[_loc_2] = "";
                }
            }
            return;
        }// end function

        public function clone() : ItemExInfo
        {
            var _loc_3:* = undefined;
            var _loc_1:* = new ItemExInfo();
            var _loc_2:* = ObjectParser.getClassVars(this);
            for each (_loc_3 in _loc_2)
            {
                
                _loc_1[_loc_3] = this[_loc_3];
            }
            return _loc_1;
        }// end function

    }
}
